package org.pomodairo.service;

import android.content.Context;
import android.os.Handler;
import android.view.View;

public interface ITimerService {

	public long getTimeUsedInSec();

	public boolean isTimerOver(long timeUsedInSec);

	public String CalculateTimeInStartTask(long timeUsedInSec);

	public boolean isOneMinuteChangeColor(long timeUsedInSec);

	public void startTimer(Handler mHandler, String taskName);

	public void startRestTimer(Handler mHandler);

	public void flickerTimer(View view, Context context, Handler mHandler, int flag);

	public String CalculateTimeInRestTask(long timeUsedInSec);

	public void timerInit(Context context);

	public void restInit(Context context);

	public boolean isRestTimeOver(long timeUsedInSec);

	public String getTimeUsed();

	public void setTimeUsedInSec(long timeUsedInSec);

	public void setOnStop(boolean flag);

	public void setOnBreak(boolean flag);

	public boolean getOnStop();

	public boolean getOnBreak();

	public void stopTimer();

	public boolean isTimer();

	public boolean isStartTimerTask();

	public boolean isStartRestTimerTask();
}
